#! /usr/bin/python3

import requests
import json


requests.codes

url = 'https://httpbin.org/post'
files = {'test.txt': ('test.txt', open('test.txt', 'rb'))}
r = requests.post(url, files=files)
print(r.text)






